-- GENERATED SPELL FOR [Gundrak Savage] --


function spell0_29235(pUnit, Event) --@Savagery,Self--
pUnit:FullCastSpellOnTarget(5515,pUnit)
pUnit:RegisterEvent('Sorts_29235', 8311, 1)
end

function Sorts_29235(pUnit, Event)
local choix_sorts_29235 = math.random(0, 0)
if choix_sorts_29235 == 0 then
pUnit:RegisterEvent('spell0_29235', 1, 1)
end
end

function mob29235_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29235', math.random(1500, 3000), 1)
end

function mob29235_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29235_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29235_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29235, 1, 'mob29235_Action')
RegisterUnitEvent(29235, 2, 'mob29235_Leave')
RegisterUnitEvent(29235, 3, 'mob29235_Kill')
RegisterUnitEvent(29235, 4, 'mob29235_Die')
